package com.yunjian.core.busi.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yunjian.core.busi.model.HouseBasicInfo;
import com.yunjian.core.busi.model.HouseBasicInfoExample;
import com.yunjian.core.busi.vo.HouseBasicInfoVo;

public interface HouseBasicInfoMapper {

	/**
	 * @mbggenerated
	 */
	int countByExample(HouseBasicInfoExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByExample(HouseBasicInfoExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * @mbggenerated
	 */
	int insert(HouseBasicInfo record);

	/**
	 * @mbggenerated
	 */
	int insertSelective(HouseBasicInfo record);

	/**
	 * @mbggenerated
	 */
	List<HouseBasicInfo> selectByExample(HouseBasicInfoExample example);

	/**
	 * @mbggenerated
	 */
	HouseBasicInfo selectByPrimaryKey(String id);

	/**
	 * @mbggenerated
	 */
	int updateByExampleSelective(@Param("record") HouseBasicInfo record,
			@Param("example") HouseBasicInfoExample example);

	/**
	 * @mbggenerated
	 */
	int updateByExample(@Param("record") HouseBasicInfo record,
			@Param("example") HouseBasicInfoExample example);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKeySelective(HouseBasicInfo record);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(HouseBasicInfo record);

	/**
	 * 关联查询检索
	 * @param example
	 * @return
	 */
	List<HouseBasicInfoVo> selectVoByExample(HouseBasicInfoExample example);
}